//
//  MBProgressHUD+Extension.h
//  viviyoo
//
//  Created by Jay_Apple on 15/11/9.
//  Copyright © 2015年 viviyoo. All rights reserved.
//

#import <MBProgressHUD.h>

@interface MBProgressHUD (Extension)

+ (void)showSuccess:(NSString *)success toView:(UIView *)view;
+ (void)showError:(NSString *)error toView:(UIView *)view;
+ (void)showOnlyText:(NSString *)text toView:(UIView *)view;
+ (void)showOnlyText:(NSString *)text toView:(UIView *)view withFontSize:(CGFloat) fontsize;

+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;


+ (void)showSuccess:(NSString *)success;
+ (void)showError:(NSString *)error;
+ (void)showOnlyText:(NSString *)text;

+ (MBProgressHUD *)showMessage:(NSString *)message;

+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUD;


@end
